package com.example.courseselectionsystemconsume.dao;

import com.example.courseselectionsystemconsume.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description: TODO
 * @author: Tokyo_God
 * @date: 2020/12/28 10:13
 * Role of:
 * @version: v1.0
 */
@Mapper
public interface UserDao {
    int register(User user);
    int upUser(User user);
    //选课之  增加用户分数    用户id    添加的分数
    int upUserMark(@Param("id") Integer userId,@Param("addMark") Integer addMark);
}
